#include "StdAfx.h"
#include ".\oglcontext.h"

DWORD COGLContext::m_ID = 0;
COGLContext::COGLContext(): Index(0)
{
	m_ID++;
	StrID (mystr::format(_T("OGLContext%d"),m_ID));
	m_pOpenGL.reset( new COpenGL ());

	RegisterChildObj (OGL()->StrID () ,OGL());
}

COGLContext::~COGLContext(void)
{
}
